/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.kpi.transport.db.entities;

import java.util.List;

/**
 *
 * @author harker777
 */
public class FullRouteBean extends RouteBean{
    
    private List<RouteToStationBean> stations;

    public FullRouteBean(RouteBean route){
        this.id = route.getId();
        this.name = route.getName();
    }

    public List<RouteToStationBean> getStations() {
        return stations;
    }

    public void setStations(List<RouteToStationBean> stations) {
        this.stations = stations;
    }

}
